package com.rich.paas.service;

import java.io.IOException;

/**
 * 微信相关接口
 * @author chenhao
 * @version 1.0
 * @date 2018/6/10 下午1:35
 */
public interface WechatService {

    /**
     * 获取access token
     * @return
     */
    String getAccessToken() throws IOException;


    /**
     * 获取openId
     * @param code
     * @return
     */
    String getOpenIdByCode(String code) throws IOException;

}
